package com.vcc.service.service;

import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.Currency;
import com.vcc.service.boss.request.currency.CurrencyDto;


public interface CurrencyService extends IService<Currency> {

    Boolean existsById(Long id);

    Currency getById(Long id);

    Currency addCurrency(CurrencyDto currencyDto);

    Currency getByCode(String code);
}
